package nl.rug.snitter.message;


import nl.rug.snitter.site.SimpleUserInfo;

/**
 * This class contains the information of a simpleUser class and the message class.
 * The Intention of this class is to provide more information for the site when some
 * functions are called.
 * 
 * @author Gray
 *
 */
public class ExtendedMessage
{
	
	private Message msg= null;
	private SimpleUserInfo user= null;
	
	public ExtendedMessage(Message msg, SimpleUserInfo user)
	{
		this.setMsg(msg);
		this.setUser(user);
	}

	public void setMsg(Message msg)
	{
		this.msg = msg;
	}

	public Message getMsg()
	{
		return msg;
	}

	public void setUser(SimpleUserInfo user)
	{
		this.user = user;
	}

	public SimpleUserInfo getUser()
	{
		return user;
	}

}
